//
//  BIDSlideShowDetailViewController.m
//  HJGJCommunity
//
//  Created by mal on 2017/5/20.
//  Copyright © 2017年 mal. All rights reserved.
//

#import "BIDSlideShowDetailViewController.h"

@interface BIDSlideShowDetailViewController ()

@end

@implementation BIDSlideShowDetailViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view.
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

- (void)loadData
{
    [self sendHttpRequestWithURL:self.requestURL postData:@"" withCompletion:^(NSDictionary *responseDic, NSString *errMsg){
        if(errMsg)
        {
            [self showAlertView:errMsg buttonTitle:ALERT_BTN_TITLE tag:0 functionName:nil];
        }
        else
        {
            NSString *strContent = responseDic[@"content"];
            [self showWebContent:strContent];
        }
    }];
}

@end
